package org.charmsoft.error;

/**
* @ Author: Allen J L Chen
* This Class is to 
* 10/4/2025
**/
public enum ReturnCode {

    CONVERTED(100, "Conversion is completed."),
    FAIL(101,"Conversion is failed."),
    INVALID(102, "Invalid."),
    FILE_IS_NOT_FOUND(103, "File is not found."),
    TASK_COMPLETED(104, "Task is completed.");

    private int code;

    private String message;

    private ReturnCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
